add_library( tinyxml2 SHARED
	tinyxml2.cpp
	tinyxml2.h
)

if( ${DEBUG_BUILD} )
	target_compile_definitions( tinyxml2 PRIVATE
		TINYXML2_DEBUG
	)
endif()

target_include_directories( tinyxml2 PUBLIC
	${CMAKE_CURRENT_SOURCE_DIR}
)

add_executable(try_tiny
	tryout.cpp
)

target_link_libraries( try_tiny PRIVATE
	tinyxml2
)